import { defineStore } from 'pinia';
export const useShopStore = defineStore("shop", {
    state: () => {
        return {
           list:["棉服","裤子"],
           price:[123,234]
        }
    },
    getters: { 
       
    },
    actions: {
      
    },
    // 使用插件开启数据缓存
    persist:{
        enabled:true,
        strategies:[
            {
                key:"my_shop",
                Storage:localStorage,
                paths:["list"]
            }
        ]
    }
})
